package com.margo.project.beanmapper;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import com.margo.project.append.dao.MarColumnNameDAO;
import com.margo.project.append.dao.MargoBeanPropertyMapper;

@RunWith(SpringRunner.class)
@SpringBootTest //SpringBootTest的作用就是在Junit启动的时候自动初始化SpringBoot的IOC容器
public class MargoBeanMapper {
	@Autowired
	private MargoBeanPropertyMapper margoBeanPropertyMapper;
	
	@Autowired
	private MarColumnNameDAO marColumnNameDAO;
	
	@Test
	public void queryMarColumnNameList() {
		margoBeanPropertyMapper.queryMarColumnNameList("PS_SW_PUNISH_NOTICE");
	}
	
	//@Test
	public void ss() {
		marColumnNameDAO.queryMarColumnNameList("PS_SW_PUNISH_NOTICE");
	}
}
